package org.spring.aop.support;

import org.slf4j.Logger;
import org.slf4j.LoggerFactory;

import java.time.LocalDateTime;

/**
 * KeyServiceImpl
 *
 * @author 李坤
 * @date 2022/4/19 9:11
 */
public class KeyServiceImpl implements KeyService {

    private static final Logger logger = LoggerFactory.getLogger(KeyServiceImpl.class);

    @XYZ
    @Override
    public String getKey() {
        logger.debug("开始执行业务逻辑方法");
        return LocalDateTime.now().toString();
    }

}
